const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  publicPath: '/vue/',
  outputDir: 'dist/',
  assetsDir: 'static/',
  devServer: {
    proxy: {
      '/gateway': {
        target: 'https://m.maizuo.com',
        changeOrigin: true
        // pathRewrite: {
        //   '^/gateway': ''
        // }
      }
    }

  }
}
)
